# -- coding: utf-8 --
# @Time : 2021/3/10--16:31
# @Author : ChinaV
# @File : 比赛成绩计算.py


# 答案
score = [[87, 79, 90], [99, 83, 93], [90, 75, 89], [89, 87, 94], [95, 85, 84]]
for i in range(0, len(score)):
    tmp = score[i]
    final = tmp[0] * 0.6 + tmp[1] * 0.3 + tmp[2] * 0.1
    print('the {} final score is {}'.format(i + 1, int(final)))
